<section> 
  <fui-progress
    [percent]="percent"
    [status]= "status"
  >
  </fui-progress>
  <form [formGroup]="configCtrl" fuiForm labelFlex="1" inputFlex="1.5" >
    <fui-form-item label="Percent">
      <fui-input-number
        formControlName="percent"
        name="percent"
        type="number"
        (keyup.enter)="submit()"
      ></fui-input-number>
    </fui-form-item>
    <fui-form-item label="Status">
      <fui-select
        formControlName="status"
        name="status"
      >
        <fui-select-option
          *ngFor="let s of statuses"
          [value]="s"
          (click)="submit()"
        >
          {{ s | fuiDefault }}
        </fui-select-option>
      </fui-select>
    </fui-form-item>
  </form>  
  <button fuiBtn="primary" (click)="submit()" > Apply </button>
</section>


